<?php
//配置信息
include './function.php';
//顶级类
include './Controller.class.php';
//继承类  处理函数信息
include './FenleiController.class.php';
$datas = include "./logindata.php";
//实例化
$fenleiObj = new FenleiController;

//通过不同的get参数调用不用的方法
$action = isset($_GET['fenlei'])?$_GET['fenlei']:'index';
//执行动作 
$fenleiObj->$action();







?>